package com.zwk.gulimall.product.feign;

import com.zwk.common.to.SkuReductionTo;
import com.zwk.common.to.SpuBoundTo;
import com.zwk.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("gulimall-coupon")
public interface ConponClient {

    @PostMapping("/coupon/spubounds/save")
    R saveSpuBounds(SpuBoundTo to);

    @PostMapping("/coupon/skufullreduction/saveSkuReduction")
    R saveSkuReduction(SkuReductionTo to);
}
